InputDetails
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | gfx.ui.InputDetails |
| File last modified: | Tuesday, 29 June 2010, 09:03:27 |
An InputDetails object is generated by the InputDelegate, and contains relevant information about user input, such as controller buttons, keyboard keys, etc.
Summary
Constructor
- InputDetails
- Create a new InputDetails instance.
Instance properties
- type
- The type of input
- code
- The code (if any) of the input, such as a keyboard key
- value
- navEquivalent
- The navigation equivalent of the input, such as "up", "down", "tab", etc.
- controllerIdx
- The index of the controller that generated the input event.
Constructor
InputDetails
function InputDetails (
type:String,
code:Number,
value,
navEquivalent:String,
controllerIdx:Number)
Create a new InputDetails instance.
Parameters:
type :
The type of input.
code :
The code of the input, such as "key".
navEquivalent:
The navigation equivalent.
Instance properties
code
code:Number
(read,write)
The code (if any) of the input, such as a keyboard key
controllerIdx
controllerIdx:Number
(read,write)
The index of the controller that generated the input event.
type
type:String
(read,write)
The type of input
value
value
(read,write)
The value of the input, such as an analog button delta